package log4j.text;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class HelloLog4j {
	
	//private static Logger logger = Logger.getLogger(HelloLog4j.class);
	private static Log logger;
	
	public HelloLog4j(){
		logger = LogFactory.getLog(HelloLog4j.class.getName());
	}
	
	public static void main(String [] args){
		
		new HelloLog4j();
		
		logger.debug("This is debug message");
		
		logger.info("This is info message");
		
		logger.error("This is error message");
		
	}

}
